home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2673 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  764 b 

  1. Path: fas-news.harvard.edu!scws44!sarmad
  2. From: sarmad@scws44.harvard.edu (Shaikh Sarmad)
  3. Newsgroups: comp.lang.c,comp.unix.misc,comp.unix.questions,harvard.comp.unix
  4. Subject: Trap interrupts in C program
  5. Date: 23 Jan 1996 04:04:44 GMT
  6. Organization: Harvard University, Cambridge, Massachusetts
  7. Message-ID: <4e1mos$8jn@decaxp.harvard.edu>
  8. NNTP-Posting-Host: scws44.harvard.edu
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11.  
  12. I want to write a C program that can should ignore all signals (except 
  13. the kill, of course). How do I incorporate that in my program. I mean is 
  14. there a "trap" command for C, like in shell scripts? And yes, the C 
  15. program would be running on an HP-UX system.
  16.  
  17. Thanx in advance.
  18.  
  19.  
  20.  
  21. --
  22. Sarmad
  23. sarmad@fas.harvard.edu
  24. http://fas-www.harvard.edu/~sarmad
  25.